package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.template.entity.ProjectModule;
import org.springframework.data.jpa.repository.JpaRepository;
import redis.clients.jedis.BinaryClient;

import java.util.List;

public interface ProjectModuleRepository extends JpaRepository<ProjectModule,String> {
    Integer countByProjectIdAndDeleteFlag(String projectId,Integer deleteFlag);
    List<ProjectModule> findByProjectIdAndDeleteFlagOrderByModuleNo(String projectId,Integer deleteFlag);
    ProjectModule findByIdAndDeleteFlag(String id,Integer deleteFlag);


}
